package com.i360day.invoker.registry;

import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframework.context.annotation.ImportBeanDefinitionRegistrar;
import org.springframework.core.type.AnnotationMetadata;

/**
 * <p> @description:  服务暴露与远程调用   <p>
 * <p>
 * <p> @author: 胡.青牛   <p>
 * <p>
 * <p> @date: 2019/4/29 0029  14:44
 **/
public class RemoteClientsImportBeanDefinitionRegistrar extends RemoteAnnotationParserSupport implements ImportBeanDefinitionRegistrar {
    @Override
    public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) {
        getRegistrarFactory().registerBeanDefinitions(importingClassMetadata, registry);
    }
}
